#include <iostream>
#include "vectorfunctions.h"

int main()
{
	int l, i;
	float x[100], y[100], z[100];
	cout<<"Length of array : ";
	cin>>l;
	readVector(x, l);
	readVector(y, l);
	for(i=0;i<l;i++){
		if(x[i]+b[i]<=0)	
			z[i]=(x[i]+y[i])*(x[i]+y[i]);
		else if(x[i]+y[i]<100)
				z[i]=0;
			else 
				z[i]=x[i]+y[i];
	
	}
	printVector(z, l);
	
return 0;
}
